﻿@model MvcApplication1.Models.ItemEdit

@{
    ViewBag.Title = "UserEditSuccess";
    
}

<h2>编辑成功</h2>

<fieldset>
    <legend>ItemEdit</legend>

    <div class="display-label">itemid</div>
    <div class="display-field">@Model.itemid</div>

    <div class="display-label">itemname</div>
    <div class="display-field">@Model.itemname</div>

    @*<div class="display-label">itemSN</div>
    <div class="display-field">@Model.itemSN</div>*@

    <div class="display-label">image</div>
    <div class="display-field"><img src="@Href("~/uploads/"+ Model.image)" alt="image" /></div>

    <div class="display-label">addtime</div>
    <div class="display-field">@Model.addtime</div>

    <div class="display-label">linkAddr</div>
    <div class="display-field">@Model.linkAddr</div>

    <div class="display-label">price</div>
    <div class="display-field">@Model.price</div>

    <div class="display-label">intro</div>
    <div class="display-field">@Model.intro</div>

    <div class="display-label">keywordlist</div>
    <div class="display-field">@ViewBag.keywordstring</div>
</fieldset>
<p>
    @Html.ActionLink("修改", "UserEditItem", new
{
    itemid = Model.itemid,
    orginpagenumber = ViewBag.orginpagenumber,
    orginsortorder = ViewBag.orginsortorder,
    itemname_search = ViewBag.itemname_search,
    itemSN_search = ViewBag.itemSN_search,
    addtime_search = ViewBag.addtime_search,
    linkaddr_search = ViewBag.linaddr_search
}) |
    @Html.ActionLink("返回列表", "UserManage", new
{
    page = ViewBag.orginpagenumber,
    sortorder = ViewBag.orginsortorder,
    itemname = ViewBag.itemname_search,
    itemSN = ViewBag.itemSN_search,
    addtime = ViewBag.addtime_search,
    linkaddr = ViewBag.linaddr_search
})

    @Html.ActionLink("继续添加","UserAddItem",new
{
    orginpagenumber = ViewBag.orginpagenumber,
    orginsortorder = ViewBag.sortorder,
    itemname_search = ViewBag.itemname_search,
    itemSN_search = ViewBag.itemSN_search,
    addtime_search = ViewBag.addtime_search,
    linkaddr_search = ViewBag.linkaddr_search
})
</p>

